/*
 * Suitors.h
 *
 *  Created on: Sep 8, 2009
 *      Author: Thada Pipatcharoenkij 49270325
 */

#ifndef SUITORS_H_
#define SUITORS_H_

#include <vector>
#include <iostream>

using namespace std;

/**
 * Class to store number of suitors and method to eliminate every third person at a time
 */
class Suitors {
public:
	Suitors();
	Suitors(int n);
	virtual ~Suitors();
	void findLuckyOne();
	void printCandidates();
private:
	int size;
	void initialize(int size);
};

#endif /* SUITORS_H_ */
